/*#ifdef _GNU_SOURE
#define __USE_GNU
#endif
*/
#define _GNU_SOURE
#define __USE_GNU

#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>

int main(void)
{
	char *buf = NULL;
	buf = get_current_dir_name();
	printf("current working directory:%s\n",buf);
	free(buf);
	return 0;
}
